<!--详情页轮播图子组件 -->
<template>
  
    <swiper class="swiperdetail">
     <swiper-item  v-for="(item,index) in childtopImages" :key="index">
        <img :src="item" alt="">
     </swiper-item>
    </swiper>
  
</template>

<script>
import Swiper from '../../../components/common/swiper/Swiper.vue'
import SwiperItem from '../../../components/common/swiper/SwiperItem.vue'

export default {
   name:'DetailSwiper',
   components:{
    Swiper,
    SwiperItem,
  
   },
   props:{
    childtopImages:{
        type:Array,
        default(){
            return []
        }
    },
    
   },
   data(){
    return {
      
    }
   }
}
</script>

<style scoped>
   .swiperdetail {
      height: 300px;
      overflow: hidden;
   }
</style>